package com.fort.teachermanagementsys.entity;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;


@Getter
@Setter
@TableName("class_management")
@ApiModel(value = "class对象", description = "")
public class ClassY implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("班级id")
    @TableId("class_id")
    private Integer classId;

    @ApiModelProperty("班级名称")
    @TableField("class_name")
    private String className;

    @ApiModelProperty("课程名称")
    @TableField("course_name")
    private String courseName;

    @ApiModelProperty("讲师")
    @TableField("teacher")
    private String teacher;

    @ApiModelProperty("课程属性")
    @TableField("course_property")
    private String courseProperty;

    @ApiModelProperty("默认教室")
    @TableField("default_classroom")
    private String defaultClassroom;

    @ApiModelProperty("计划课次")
    @TableField("plan_course_count")
    private Integer planCourseCount;

    @ApiModelProperty("结课/全部")
    @TableField("is_completed")
    private Integer isCompleted;

    @ApiModelProperty("剩余课次")
    @TableField("remain_course_count")
    private Integer remainCourseCount;

    @ApiModelProperty("班级容量")
    @TableField("volume")
    private Integer volume;

    @ApiModelProperty("班级状态")
    @TableField("class_status")
    private Integer classStatus;

    @ApiModelProperty("上课时间")
    @TableField("class_time")
    private LocalDateTime classTime;

    @ApiModelProperty("开班时间")
    @TableField("start_time")
    private LocalDateTime startTime;

    @ApiModelProperty("结班时间")
    @TableField("end_time")
    private LocalDateTime endTime;

    @ApiModelProperty("所属校区")
    @TableField("belongto")
    private String belongTo;
}
